Select cells in grid with maximum score

welcome to shbcf.ru